package com.learn.bean;

import java.util.ArrayList;
import java.util.List;

public class Node {
    public int value;
    private int out;
    private int in;
    public List<Node> nexts;
    public List<Edge> edgeList;

    public Node(int value) {
        this.value = value;
        this.out = 0;
        this.in = 0;
        nexts = new ArrayList<>();
        edgeList = new ArrayList<>();
    }

}
